package com.system.vote.admin.mapper;

import com.system.vote.admin.entity.TWxUserinfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author Administrator
 * @description 针对表【t_wx_userinfo(微信用户表)】的数据库操作Mapper
 * @createDate 2023-10-26 18:31:25
 * @Entity com.system.vote.admin.entity.TWxUserinfo
 */
public interface TWxUserinfoMapper extends BaseMapper<TWxUserinfo> {

    @Select("select id,nick_name,avatar_url,register_date,phone,email,password,status from t_wx_userinfo where phone=#{phone}")
    public TWxUserinfo getPartiesTWxUserinfoByPhone(@Param("phone") String phone);
}




